package cn.yshujia.domain.vo;

import cn.yshujia.domain.entity.Role;
import cn.yshujia.domain.entity.Router;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author YShuJia
 * @create 2024/4/23
 * @description domain
 */

@Data
@EqualsAndHashCode (callSuper = true)
public class RouterVO extends Router implements Serializable {
	
	@Schema (description = "角色权限")
	private Role role;
	
	@Schema (description = "状态 1 启用")
	private List<RouterVO> children;
}